const bcrypt = require('bcryptjs')
const jwt = require('jsonwebtoken')
const config = require('../config')
const db = require('../db/index')
module.exports = (req, res) => {
    console.log("xxxxxxxxxxxx",req.user);
    res.send({
        status: 0,
        msg: "sucess",
        username: req.user.username
    })
}